dark_theme = ubuntu-mono-dark
dark_themedir = /usr/local/share/icons/$(dark_theme)

dark_theme_icons = \
	status,process-syncing-i-24.png \
	status,process-syncing-ii-24.png \
	status,process-syncing-iii-24.png \
	status,process-syncing-iiii-24.png \
	status,process-syncing-iiiii-24.png \
	status,process-syncing-error-24.png

install_icon_exec = $(top_srcdir)/build/icon-theme-installer \
	-t "$(dark_theme)" \
	-s "$(srcdir)" \
	-d "x$(DESTDIR)" \
	-m "$(mkinstalldirs)" \
	-x "$(INSTALL_DATA)"

install-data-local:
	@-$(install_icon_exec) -i -b "$(dark_themedir)" $(dark_theme_icons)

uninstall-hook:
	@-$(install_icon_exec) -u -b "$(dark_themedir)" $(dark_theme_icons)

MAINTAINERCLEANFILES = Makefile.in
EXTRA_DIST = $(wildcard *.png *.svg)
